package com.ruoyi.training.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 项目资源监控对象 training_project_resource_monitor
 * 
 * @author rocc
 * @date 2025-06-12
 */
public class TrainingProjectResourceMonitor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** Id */
    private Long id;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String projectName;

    /** 环境配置id */
    @Excel(name = "环境配置id")
    private Long envorimentId;

    /** 分配规则 */
    @Excel(name = "分配规则")
    private Long allocationRules;

    /** 项目环境状态 */
    @Excel(name = "项目环境状态")
    private Long projectEnviromentStatus;

    /** 容器数量 */
    @Excel(name = "容器数量")
    private Long containerNum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setProjectName(String projectName) 
    {
        this.projectName = projectName;
    }

    public String getProjectName() 
    {
        return projectName;
    }

    public void setEnvorimentId(Long envorimentId) 
    {
        this.envorimentId = envorimentId;
    }

    public Long getEnvorimentId() 
    {
        return envorimentId;
    }

    public void setAllocationRules(Long allocationRules) 
    {
        this.allocationRules = allocationRules;
    }

    public Long getAllocationRules() 
    {
        return allocationRules;
    }

    public void setProjectEnviromentStatus(Long projectEnviromentStatus) 
    {
        this.projectEnviromentStatus = projectEnviromentStatus;
    }

    public Long getProjectEnviromentStatus() 
    {
        return projectEnviromentStatus;
    }

    public void setContainerNum(Long containerNum) 
    {
        this.containerNum = containerNum;
    }

    public Long getContainerNum() 
    {
        return containerNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("projectName", getProjectName())
            .append("envorimentId", getEnvorimentId())
            .append("allocationRules", getAllocationRules())
            .append("projectEnviromentStatus", getProjectEnviromentStatus())
            .append("containerNum", getContainerNum())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
